<%@include file="inc/prelude.jsp" %>
<div id="wrapper">
    <%@include file="inc/header.jsp" %>
    <%@include file="inc/menu.jsp" %>
    <div id="content">
        <div class="content-left">
            <div id="table-mess">
                <div class="mess">
                    <div class="mess-title"><img alt=""  src="${pageContext.request.contextPath}/res/images/star.png" border="0"> Profile <s:property value="firstname" /> <s:property value="lastname" /></div>

                    <div class="mess-left mess-first" style="color:red;">${param['msg']}</div>
                    <div class="mess-left mess-first"><s:text name="user.profile.contact" /></div>
                    <div class="mess-right mess-first"><a href="/user/edit_contact.htm" class="green">[<s:text name="user.profile.edit" />]</a></div>
                    <div class="clearboth">
                    </div>
                    <div class="mess-left"><s:text name="user.profile.address" /></div>
                    <div class="mess-right">
                        <c:out value="${address}" /><br>
                        <c:out value="${city}" /><br>
                        <c:out value="${postal_code}" />
                        <c:out value="${state}" /><br>
                        <c:out value="${country}" /><br></div>
                    <div class="clearboth"></div>
                    <div style="border-bottom: 1px dotted rgb(204, 204, 204);"></div>
                    <div class="mess-left"><s:text name="user.profile.email" /></div>
                    <div class="mess-right"><c:out value="${email}" /></div>
                    <div class="clearboth"></div>
                    <div class="mess-left"><s:text name="user.profile.accType" /></div>
                    <div class="mess-right"><c:out value="${accType}" /></div>
                    <div class="clearboth"></div>
                    <div class="mess-left"><s:text name="user.profile.phone" /></div>
                    <div class="mess-right"><c:out value="${phone}" /></div>
                    <div class="clearboth"></div>
                    <div class="mess-left">&nbsp;</div>
                    <div class="mess-right mess-footer"></div>
                    <div class="clearboth"></div>
                    <div style="border-bottom: 1px dotted rgb(204, 204, 204);"></div>
                    <div class="clearboth"></div>
                    <div class="mess-left"><s:text name="user.profile.cre-de" /></div>
                    <div class="mess-right"><a href="${pageContext.request.contextPath}/user/manage_cards.htm" class="green">[Manage]</a></div>
                    <div class="clearboth"></div>
                    <c:forEach items="${listCard}" var="card">
                        <div class="mess-left"><c:out value="${card.type}" /></div>
                        <div class="mess-right"><c:out value="${card.numberHidden}" /></div>
                        <div class="clearboth"></div>
                    </c:forEach>                    
                    <div class="clearboth"></div>
                    <div style="border-bottom: 1px dotted rgb(204, 204, 204);"></div>
                    <div class="mess-left"><s:text name="user.profile.bankAcc" /></div>
                    <div class="mess-right"><a href="${pageContext.request.contextPath}/user/manage_bank.htm" class="green">[Manage]</a></div>
                    <div class="clearboth"></div>
                    <c:forEach items="${listBank}" var="b">
                        <div class="mess-left"><c:out value="${b.bankName}" /></div>
                        <div class="mess-right"><c:out value="${b.accountNumberHidden}" /></div>
                        <div class="clearboth"></div>
                    </c:forEach>
                    <div class="clearboth"></div>
                    <div class="mess-left">&nbsp;</div>
                    <div class="mess-right"></div>
                    <div class="clearboth"></div>
                </div>
            </div>
            <%@include file="inc/quicklink.jsp" %>
        </div>
        <%@include file="inc/rightmenu.jsp" %>
    </div>
    <%@include file="inc/footer.jsp" %>
</div>
<%@include file="inc/coda.jsp" %>